package com.example.spring5.ms;

/**
 * @Author: Hu Rui
 * @Date: 2021/11/11 20:24
 */
public class TestLRUCache {
    public static void main(String[] args) {
        LRUCache lruCache = new LRUCache(3);
        lruCache.add("a", "a");
        lruCache.add("b", "b");
        lruCache.add("c", "c");
        lruCache.find("a");
        lruCache.add("d", "d");
        lruCache.add("e", "e");
    }
}
